/*
 * SPI.h
 *
 * Created: 20.02.2013 15:36:07
 *  Author: saenko
 */ 


#ifndef SPI_H_
#define SPI_H_

unsigned char spi_read_one_reg(unsigned char reg);
void spi_write_one_reg(unsigned char reg, unsigned char data);

unsigned char buf[16];
void spi_write_from_buf(unsigned char num);
unsigned char spi_read_IRQ_status(void);

#endif /* SPI_H_ */